// erp日志查询
export interface ERPLogSearchParam {
  queryParam: {
    barcode: string;
    businessVal: string;
    deliveryPlanCode: string;
    endTime: string;
    isQueryDelivery: string;
    issuedType: string;
    itemCode: string;
    mesCheckQualiticationId: string;
    msgId: string;
    qualityCode: string;
    result: string;
    startTime: string;
  };
  page: {
    currentPage: number;
    pageSize: number;
    total: number;
    pageRandom: number[];
  };
}

// erp日志修改
export interface ERPLogChangedParam {
  PAGEHELPER_ROW_ID: string;
  bData: string;
  issuedId: string;
  issuedTime: string;
  issuedType: string;
  msgId: string;
  result: string;
  retCode: string;
}

// erp操作日志结果返回
export interface ERPFuncLogParam {
  queryParam: {
    msgId: string;
  }; // 查询参数
  page: {
    currentPage: number;
    pageSize: number;
    total: number;
    pageRandom: number[];
  };
}

// 箱子查询
export interface WmsDeliverySendParam {
  queryParam: {
    palletCode: string;
    packageCode: string;
    aoCode: string;
    startPlaneNo: string;
    startTime: string;
    endTime: string;
  }; // 查询参数
  page: {
    currentPage: number;
    pageSize: number;
    total: number;
  };
}

// 缓存箱物料查询
export interface BoxMaterialSendParam {
  queryParam: {
    itemCode: string;
    mProductNumber: string;
    qualityCode: string;
    dealVal: string;
    deliveryPlanCode: string;
    barcode: string;
    startTime: string;
    endTime: string;
  }; // 查询参数
  page: {
    currentPage: number;
    pageSize: number;
    total: number;
  };
}

// 分配缓存箱查询
export interface DistributedBoxMaterialSendParam {
  queryParam: {
    itemCode: string;
    mProductNumber: string;
    qualityCode: string;
    dealVal: string;
    deliveryPlanCode: string;
    barcode: string;
    startTime: string;
    endTime: string;
  }; // 查询参数
  page: {
    currentPage: number;
    pageSize: number;
    total: number;
  };
}

// 分配缓存箱查询
export interface WmsLogSendParam {
  queryParam: {
    palletCode: string;
    taskvalue: string;
    roadvalue: string;
    storevalue: string;
    startCode: string;
    endCode: string;
    startTime: string;
    endTime: string;
  }; // 查询参数
  page: {
    currentPage: number;
    pageSize: number;
    total: number;
  };
}

// 交接单查询
export interface wmsDeliveryTicketSendParam {
  searchParams: {
    barcode: string;
    itemCode: string;
    mProductNumber: string;
    qualityCode: string;
    deliveryStatus: string;
    deliveryPlanCode: string;
    deliveryOrgCode: string;
    receiveOrgCode: string;
    productCode: string;
    batchNo: string;
    startLotNo: string;
    endLotNo: string;
    startTime: string;
    endTime: string;
  }; // 查询参数
  pageParameter: {
    page: number;
    rows: number;
  };
}

// 缓存箱查询
export interface boxDataQueryParam {
  queryParam: {
    itemCode: string;
    qualityCode: string;
    workbinCode: string;
    wmsItemInventoryId: string;
    wmsDeliveryPlanId: string;
  };
  page: {
    currentPage: number;
    total: number;
    pageSize: number;
  };
}

// 综合查询-分配缓存箱查询展开数据
export interface DistributedBoxExpendParam {
  queryParam: {
    barcode: string;
    dealVal: string;
    deliveryPlanCode: string;
    endTime: string;
    itemCode: string;
    mProductNumber: string;
    qualityCode: string;
    startTime: string;
  };
  tree: any;
}
